package com.rnkrsoft.suyan.config.server.services.param.services;


import com.rnkrsoft.suyan.config.server.services.param.domains.*;

import javax.doc.annotation.ApidocInterface;
import javax.doc.annotation.ApidocService;

/**
 * Created by woate on 2018/5/13.
 * 参数服务
 */
@ApidocService("参数服务")
public interface ParamService {
    @ApidocInterface("修改参数")
    ToUpdateParamResponse toUpdate(ToUpdateParamRequest request);
    @ApidocInterface("修改参数")
    UpdateParamResponse update(UpdateParamRequest request);
    @ApidocInterface("删除参数")
    DeleteParamResponse delete(DeleteParamRequest request);
    @ApidocInterface("查看参数")
    ViewParamResponse view(ViewParamRequest request);
    @ApidocInterface("查询参数")
    QueryParamResponse query(QueryParamRequest request);
    @ApidocInterface("按照机器编号列出参数")
    ListParamByMachineResponse listParamByMachine(ListParamByMachineRequest request);
    @ApidocInterface("导出参数")
    ExportParamResponse exportParam(ExportParamRequest request);
    @ApidocInterface("导入参数")
    ImportParamResponse importParam(ImportParamRequest request);
    @ApidocInterface("分配权限")
    GrantParamResponse grant(GrantParamRequest request);
}
